import PostItem from './post-item'

export default function PostsGrid ({ posts }) {
  return (
    <ul>
      {posts.map(post => (
        <PostItem key={post.slug} post={post}></PostItem>
      ))}
    </ul>
  )
}
